<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>通知的添加和修改</title>
<link href="${css_ctx}/main_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx }/common/js/proving.js"></script>
<script type="text/javascript" src="${editor_ctx }/fckeditor.js"></script>

<script type="text/javascript">
  window.onload = function()
   {
      var oFCKeditor = new FCKeditor( 'content' ) ;
      oFCKeditor.BasePath = "${ctx }/fckeditor/" ;
      oFCKeditor.ReplaceTextarea() ;
   }
</script>
</head>
<body class="content_bg1">
  
<!-- 标题-->	
<div class="content_tittle">
<c:if test="${!empty content_tittle}">
	${content_tittle}
	<c:remove var="content_tittle" scope="session"/>
</c:if>
</div>
<!-- 标题  end--> 

<form action="${ctx }/notices?cmd=input" method="post" name="form1">
<table width="820" border="0" cellspacing="0" cellpadding="0" class="content_input">
  <tr>
    <td height="30" align="center">通知名称:<input type="hidden" name="nid" value="${notice.nid }"/></td>
    <td height="30"><input type="text" name="ntitle" size="50" value="${notice.ntitle }"/>  <font color="red" >*</font></td>
  </tr>
  <tr>
    <td height="30" align="center">通知接收组:</td>
    <td height="30">
      <input type="checkbox" name="nrole" value="0" <c:if test="${fn:containsIgnoreCase(notice.nrole, '0')}">checked="checked"</c:if> />超级管理员&nbsp;&nbsp;
      <input type="checkbox" name="nrole" value="1" <c:if test="${fn:containsIgnoreCase(notice.nrole, '1')}">checked="checked"</c:if> />段长组&nbsp;&nbsp;
      <input type="checkbox" name="nrole" value="2" <c:if test="${fn:containsIgnoreCase(notice.nrole, '2')}">checked="checked"</c:if> />审核组&nbsp;&nbsp;
      <input type="checkbox" name="nrole" value="3" <c:if test="${fn:containsIgnoreCase(notice.nrole, '3')}">checked="checked"</c:if> />编制组&nbsp;&nbsp;
      <input type="checkbox" name="nrole" value="4" <c:if test="${fn:containsIgnoreCase(notice.nrole, '4')}">checked="checked"</c:if> />车站组&nbsp;&nbsp;
      <input type="checkbox" name="nrole" value="5" <c:if test="${fn:containsIgnoreCase(notice.nrole, '5')}">checked="checked"</c:if> />学习用户&nbsp;&nbsp;
    </td>
  </tr>
   <tr>
    <td height="30" align="center">通知内容:</td>
    <td height="30">
      <textarea rows="10" cols="80" name="ncontent" id="content">     
       ${notice.ncontent }
     </textarea>
    </td>
  </tr>
  <tr>
    <td height="30" align="center"></td>
    <td height="30" align="center">
    	<input type="submit" value="提交" onmousedown="return noticesinput(form1);" class="btn1_mouseout" onmouseover="this.className='btn1_mouseover'" onmouseout="this.className='btn1_mouseout'" />
    	<input type="button" name="Submit" onclick="javascript:history.back(-1);" value="返回上一页" class="btn1_mouseout" onmouseover="this.className='btn1_mouseover'" onmouseout="this.className='btn1_mouseout'" />
    </td>
  </tr>
</table>
</form>
<%@ include file="../../common/footer.jsp"%>
</body>
</html>
